<table border="1" cellpadding="3" cellspacing="0" width="100%" style=" border-collapse: collapse;" class="record" bordercolor="#CCCCCC">
    <tr style="background-color:#000000; color:#FFFFFF;" align="center">
        <td colspan="9" height="25"><strong>Laporan Stok Detail Barang</strong></td>
    </tr>
    <tr style="background-color:#333; color:#FFFFFF;" align="center">
        <td>Kode Stock</td>
        <td>Quantity</td>
        <td>Status</td>  
    </tr>
    <?php 
        if(count($detail_stock)>0)
        { 
    ?>
    {detail_stock}
    <tr class="cellDefault">
        <td>{KodeStok}</td>
        <td>{Quantity}</td>
        <td>{Status}</td>
    </tr>
{/detail_stock}
	<tr align="center">
        <td colspan="5">
            <a href="<?php echo site_url('lappersediaancontroller');?>">BACK</a>
        </td>
    </tr>
<?php 
    } 
    else
    {
        echo "<tr>";
        echo "<td colspan='9' style='text-align:center;color:red;'>No Data To Display</td>";
        echo "</tr>";
    } 
?>
</table>
<div class="cleaner_h10"></div>
<table align="center">
    <tr align="center">
        <td>
            <?php
                //echo $paginator;
            ?>
        </td>
    </tr>
</table>